package cn.zzuisa.bluebox.biz.device.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author Ao
 * @since 2019-02-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("g_device_remote_cmd")
@ApiModel(value="RemoteCmd对象", description="")
public class RemoteCmd extends Model<RemoteCmd> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "标识id")
    private Long id;

    @ApiModelProperty(value = "操作人id")
    private Long operUserId;

    @ApiModelProperty(value = "远程设备id")
    private String nbDeviceId;

    private LocalDateTime createTime;

    private String status;

    @ApiModelProperty(value = "设备命令id")
    private String cmdId;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
